/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-11 15:57:10
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-12 09:54:43
 */
import React from 'react'
import store from '../../store'

const Father = () => {
  const handle = () => {
    store.dispatch({ type: 'add' })
    console.log(store.getState(), 66)
  }
  return (
    <div>
      御剑乘风来,除魔天地间!=Father===
      <button onClick={handle}>father+1</button>
    </div>
  )
}
export default Father
